<?php

namespace App\Service\GuildManage;

use App\Service\BaseService;
use App\Service\ServiceTrait\GuildTrait;

class CheckSwitchService extends BaseService
{
    use GuildTrait;

    public function handle()
    {
        $userId = $this->getUserId();

        $return['switch'] = 0;

        if ($this->checkGuildStatus($userId)) {
            $return['switch'] = 1;
        }

        return $return;
    }

}